<?php
	include_once('db/error_log_db.php');

	// IMPORTART: Declare $current_file before including this file.

	$coming_from = isset($_REQUEST['coming_from']) ? $_REQUEST['coming_from'] : null;
	$extra = isset($_REQUEST['log_extra']) ? $_REQUEST['log_extra'] : null;
	$user_id = isset($user_profile['id']) ? $user_profile['id'] : -1;

	logFlow($user_id, $coming_from, $current_file, $extra);
?>